package com.gancp.common.constants;

/**
 * @Author gancp
 * @Date 时间被黑洞吸走了
 * @Descripition 常量
 **/
public interface Constants {

    /***自定义状态码** start****/
    // 请求正常
    public static final int RESP_STATUS_OK = 200;
    // 没有授权
    public static final int RESP_STATUS_NOAUTH = 401;
    // 内部错误
    public static final int RESP_STATUS_INTERAL_ERROR = 500;
    // 错误请求
    public static final int RESP_STATUS_BADREQUEST = 404;
    /***自定义状态码** end****/

    /****用户token的常量********/
    public static final String UREQUEST_TOKEN_KEY = "user-token";

    // app版本信息
    public static final String RESP_VERSION_KEY = "version";

    // 短信sid
    public static final String MDSMS_ACOUNT_SID = "83293bf0b57741f1a913e9d07e55316d";
    // 短信token
    public static final String MDSMS_AUTH_TOKEN = "46360c497b714c5bb275ceff11281b8e";
    // 短信地址url
    public static final String MDSMS_REST_URL = "https://api.miaodiyun.com/20150822";
    // 短信模板地址
    public static final String MDSMS_VERCODE_TPLID = "165797732";

    /*****七牛云空间*****/
    public static final String QINIU_ACCESS_KEY = "";

    public static final String QINIU_SECRET_KEY = "";

    public static final String QINIU_HEAD_IMG_BUCKET_NAME = "";

    public static final String QINIU_HEAD_IMG_BUCKET_URL = "";

    public static final String NICK_NAME_PREFIX = "不愿透露姓名的";

    public static final String USER_SESSION_DATE_FORMATER = "yyyy-MM-dd hh:MM:ss";

    public static final String REQUEST_HEADER_TOKEN = "user-token";


    public static final String PHONE_VERIFVCODE_SPLIT = "-";

    public static final String PHONE_VERIFYCODE_PREFIX = "phoneVerifyCode.";

}
